package cn.cvs.springbootmybatisplus.service;

import cn.cvs.springbootmybatisplus.entity.Book;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface BookService extends IService<Book> {
    List<Book> searchBooks(Book book);

    IPage<Book> getPage(Integer pageNum);
}
